package com.mrpc.provider;

import com.mrpc.config.annotation.EnableMrpc;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

public class ApplicationProvider {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(Config.class);

    }

    @Configuration
    @EnableMrpc(scanBasePackages = "com.mrpc.provider")
    @PropertySource("classpath:provider.properties")
    static class Config {

    }
}
